package com.xiaojie.seata.service.score.impl.dao;

import com.xiaojie.seata.entity.Score;
import org.springframework.data.domain.Example;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.domain.Sort;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Optional;

/**
 * @author xiaojie
 * @version 1.0
 * @description: TODO
 * @date 2022/1/3 21:26
 */
@Repository
public class ScoreRepository implements JpaRepository<Score, Integer> {


    @Override
    public List<Score> findAll() {
        return null;
    }

    @Override
    public List<Score> findAll(Sort sort) {
        return null;
    }

    @Override
    public Page<Score> findAll(Pageable pageable) {
        return null;
    }

    @Override
    public List<Score> findAllById(Iterable<Integer> iterable) {
        return null;
    }

    @Override
    public long count() {
        return 0;
    }

    @Override
    public void deleteById(Integer integer) {

    }

    @Override
    public void delete(Score score) {

    }

    @Override
    public void deleteAll(Iterable<? extends Score> iterable) {

    }

    @Override
    public void deleteAll() {

    }

    @Override
    public <S extends Score> S save(S s) {
        return this.save(s);
    }

    @Override
    public <S extends Score> List<S> saveAll(Iterable<S> iterable) {
        return null;
    }

    @Override
    public Optional<Score> findById(Integer integer) {
        return Optional.empty();
    }

    @Override
    public boolean existsById(Integer integer) {
        return false;
    }

    @Override
    public void flush() {

    }

    @Override
    public <S extends Score> S saveAndFlush(S s) {
        return null;
    }

    @Override
    public void deleteInBatch(Iterable<Score> iterable) {

    }

    @Override
    public void deleteAllInBatch() {

    }

    @Override
    public Score getOne(Integer integer) {
        return null;
    }

    @Override
    public <S extends Score> Optional<S> findOne(Example<S> example) {
        return Optional.empty();
    }

    @Override
    public <S extends Score> List<S> findAll(Example<S> example) {
        return null;
    }

    @Override
    public <S extends Score> List<S> findAll(Example<S> example, Sort sort) {
        return null;
    }

    @Override
    public <S extends Score> Page<S> findAll(Example<S> example, Pageable pageable) {
        return null;
    }

    @Override
    public <S extends Score> long count(Example<S> example) {
        return 0;
    }

    @Override
    public <S extends Score> boolean exists(Example<S> example) {
        return false;
    }
}
